package com.lxmes.hr.mapper;

import java.util.List;
import com.lxmes.hr.domain.NcPieceworkMoneyDetail;
import com.lxmes.hr.domain.NcPieceworkParam;

/**
 * 计件工资明细Mapper接口
 *
 * @author ruoyi
 * @date 2023-01-16
 */
public interface NcPieceworkMoneyDetailMapper
{
    /**
     * 查询计件工资明细
     *
     * @param id 计件工资明细主键
     * @return 计件工资明细
     */
    public NcPieceworkMoneyDetail selectNcPieceworkMoneyDetailById(Long id);

    /**
     * 查询计件工资明细列表
     *
     * @param ncPieceworkMoneyDetail 计件工资明细
     * @return 计件工资明细集合
     */
    public List<NcPieceworkMoneyDetail> selectNcPieceworkMoneyDetailList(NcPieceworkMoneyDetail ncPieceworkMoneyDetail);

    /**
     * 新增计件工资明细
     *
     * @param ncPieceworkMoneyDetail 计件工资明细
     * @return 结果
     */
    public int insertNcPieceworkMoneyDetail(NcPieceworkMoneyDetail ncPieceworkMoneyDetail);

    /**
     * 修改计件工资明细
     *
     * @param ncPieceworkMoneyDetail 计件工资明细
     * @return 结果
     */
    public int updateNcPieceworkMoneyDetail(NcPieceworkMoneyDetail ncPieceworkMoneyDetail);

    /**
     * 删除计件工资明细
     *
     * @param id 计件工资明细主键
     * @return 结果
     */
    public int deleteNcPieceworkMoneyDetailById(Long id);

    /**
     * 批量删除计件工资明细
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteNcPieceworkMoneyDetailByIds(Long[] ids);

    List<NcPieceworkParam> selectNcPieceworkParamList(NcPieceworkParam ncPieceworkParam);
}
